package com.mars.weixin.model.msg;

public class BaseMsg {

	private String FromUserName; 		// 发送方帐号（open_id）
	private String ToUserName; 			// 公众帐号
	private String MsgType; 			// 消息类型
	private String Content; 			// 消息内容
	private String Event; 				// 消息为事件类型
	private String EventKey; 			// 事件类型的KEY
	private long CreateTime; 			// 消息创建时间
	public String getFromUserName() {
		return FromUserName;
	}
	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}
	public String getToUserName() {
		return ToUserName;
	}
	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}
	public String getMsgType() {
		return MsgType;
	}
	public void setMsgType(String msgType) {
		MsgType = msgType;
	}
	public String getContent() {
		return Content;
	}
	public void setContent(String content) {
		Content = content;
	}
	public String getEvent() {
		return Event;
	}
	public void setEvent(String event) {
		Event = event;
	}
	public String getEventKey() {
		return EventKey;
	}
	public void setEventKey(String eventKey) {
		EventKey = eventKey;
	}
	public long getCreateTime() {
		return CreateTime;
	}
	public void setCreateTime(long createTime) {
		CreateTime = createTime;
	}
	@Override
	public String toString() {
		return "BaseMsg [FromUserName=" + FromUserName + ", ToUserName=" + ToUserName + ", MsgType=" + MsgType + ", Content=" + Content + ", Event=" + Event + ", EventKey=" + EventKey + ", CreateTime=" + CreateTime + "]";
	}
	
}
